﻿using System;
namespace PS.Model
{
    /// <summary>
    /// 设备周期预警-检修周期记录表
    /// </summary>
    [Serializable]
    public partial class EwCheckPeriod
    {
        public EwCheckPeriod()
        { }
        #region Model
        private int _ewcheckperiodid;
        private int? _equipid;
        private DateTime? _startdate;
        private DateTime? _enddate;
        private int? _checktype;
        private int? _calcmode;
        private int? _rundays;
        private int? _avgrundays;
        private int? _spare1;
        private int? _spare2;
        private int? _spare3;
        private int? _spare4;
        private string _sparestring1;
        private string _sparestring2;
        /// <summary>
        /// EwCheckPeriodID
        /// </summary>
        public int EwCheckPeriodID
        {
            set { _ewcheckperiodid = value; }
            get { return _ewcheckperiodid; }
        }
        /// <summary>
        /// 设备ID
        /// </summary>
        public int? EquipID
        {
            set { _equipid = value; }
            get { return _equipid; }
        }
        /// <summary>
        /// 起始日期
        /// </summary>
        public DateTime? StartDate
        {
            set { _startdate = value; }
            get { return _startdate; }
        }
        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime? EndDate
        {
            set { _enddate = value; }
            get { return _enddate; }
        }
        /// <summary>
        /// 检修类别
        /// </summary>
        public int? CheckType
        {
            set { _checktype = value; }
            get { return _checktype; }
        }
        /// <summary>
        /// 计算模式:1：运行日  2：自然日
        /// </summary>
        public int? CalcMode
        {
            set { _calcmode = value; }
            get { return _calcmode; }
        }
        /// <summary>
        /// 运行天数
        /// </summary>
        public int? RunDays
        {
            set { _rundays = value; }
            get { return _rundays; }
        }
        /// <summary>
        /// 运行平均天数
        /// </summary>
        public int? AvgRunDays
        {
            set { _avgrundays = value; }
            get { return _avgrundays; }
        }
        /// <summary>
        /// Spare1
        /// </summary>
        public int? Spare1
        {
            set { _spare1 = value; }
            get { return _spare1; }
        }
        /// <summary>
        /// Spare2
        /// </summary>
        public int? Spare2
        {
            set { _spare2 = value; }
            get { return _spare2; }
        }
        /// <summary>
        /// Spare3
        /// </summary>
        public int? Spare3
        {
            set { _spare3 = value; }
            get { return _spare3; }
        }
        /// <summary>
        /// Spare4
        /// </summary>
        public int? Spare4
        {
            set { _spare4 = value; }
            get { return _spare4; }
        }
        /// <summary>
        /// SpareString1
        /// </summary>
        public string SpareString1
        {
            set { _sparestring1 = value; }
            get { return _sparestring1; }
        }
        /// <summary>
        /// SpareString2
        /// </summary>
        public string SpareString2
        {
            set { _sparestring2 = value; }
            get { return _sparestring2; }
        }
        #endregion Model

    }
}

